package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "interviewer")
public class Interviewer {
    /**
     * 面试官编号
     */
    @TableId(value = "Interviewer_number", type = IdType.INPUT)
    private Integer interviewerNumber;

    /**
     * 部门员工编号，绑定员工编号
     */
    @TableField(value = "Department_employee_number")
    private Integer departmentEmployeeNumber;
    @TableField(exist = false)
    private Employee employee;
}